﻿using System;
using System.Configuration;

namespace TempEmployees.BLL.Notifications
{
    class EmailConfiguration : ConfigurationSection
    {
        [ConfigurationProperty("fromAddress", DefaultValue = "Emp2010_DoNotReply@ee.technion.ac.il")]
        public string FromAddress
        {
            get { return this["fromAddress"] as string; }
            set { this["fromAddress"] = value; }
        }

        [ConfigurationProperty("fromDisplayName", DefaultValue = "Emp2010")]
        public string FromDisplayName
        {
            get { return this["fromDisplayName"] as string; }
            set { this["fromDisplayName"] = value; }
        }

        [ConfigurationProperty("debugAddress", DefaultValue = "TempEmployees@hotmail.com")]
        public string DebugAddress
        {
            get { return this["debugAddress"] as string; }
            set { this["debugAddress"] = value; }
        }

        [ConfigurationProperty("debugPassword", DefaultValue = "Emp2010!")]
        private string DebugPassword
        {
            get { return this["debugPassword"] as string; }
            set { this["debugPassword"] = value; }
        }
    }
}
